package com.huixh.train.business.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.huixh.train.common.req.PageReq;

import java.util.Date;

/**
* @author huixh
*/
public class DailyTrainStationQueryReq extends PageReq {
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date date;

    private String trainCode;

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getTrainCode() {
        return trainCode;
    }

    public void setTrainCode(String trainCode) {
        this.trainCode = trainCode;
    }

    @Override
    public String toString() {
        return "DailyTrainStationQueryReq{" +
            "} " + super.toString();
    }
}
